import { post } from '@/utils/ajax'

// 查询登录日志列表
export function list(query) {
  return post('/monitor/log/login/search', query);
}

// 删除登录日志
export function delLogininfor(infoId) {
  return post('/monitor/log/login/deleteByIds', { 'ids': infoId });
}

// 清空登录日志
export function cleanLogininfor() {
  return post('/monitor/log/login/clean');
}

// 导出登录日志
export function exportLogininfor(query) {
  return post('/monitor/log/login/export', query);
}